package tw.com.diary.ae.com;


/**
 * ????????????
 * @author Andy
 *
 */
public class DirayBussinessException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	final String exCode;
	final String exMsg;
	final String otherDescirbe;

	public DirayBussinessException(Msg msg, String otherDescirbe) {
		this.exCode = msg.getExCode();
		this.exMsg = msg.getExMsg();
		this.otherDescirbe = otherDescirbe;
	}

	public DirayBussinessException(Msg msg) {
		this(msg, "");
	}

	public String getExCode() {
		return exCode;
	}

	public String getExMsg() {
		return exMsg;
	}

	public String getOtherDescirbe() {
		return otherDescirbe;
	}

	
	
}
